Problem Note 60590: Performance is slow or non-responsive when publishing SAS® Business Rules Manager rule flows that contain a large number of rules
In SAS Business Rules Manager, when publishing a rule flow that contains a large number of rules, you might experience increased processing time or a time-out. To speed performance, execute the appropriate script to create new indexes. Copy the following code to an appropriate SQL environment for your system.
-- Add indexes for oracle datastore
-- ** NOTE ** set var schemanm to schema containing the DCM/BRM tables
def schemanm='YOUR_SCHEMA_NAME';
CREATE INDEX &schemanm..RULE_IX01 ON &schemanm..DCM_RULE
(RULE_SET_VERSION_SK ASC);
CREATE INDEX &schemanm..RULE_ACTION_IX01 ON &schemanm..DCM_RULE_ACTION
(RULE_SK ASC);
CREATE INDEX &schemanm..RULE_ACTION_X_VOCAB_TERM_IX01 ON &schemanm..DCM_RULE_ACTION_X_VOCAB_TERM
(RULE_ACTION_SK ASC,VOCAB_TERM_SK ASC);
CREATE INDEX &schemanm..RULE_COND_X_VOCAB_TERM_IX01 ON &schemanm..DCM_RULE_COND_X_VOCAB_TERM
(RULE_COND_SK ASC,VOCAB_TERM_SK ASC);
CREATE INDEX &schemanm..RULE_CONDITION_IX01 ON &schemanm..DCM_RULE_CONDITION
(RULE_SK ASC);
-- Add indexes for postgres datastore
CREATE INDEX RULE_IX01 ON public.DCM_RULE
(RULE_SET_VERSION_SK ASC);
CREATE INDEX RULE_ACTION_IX01 ON public.DCM_RULE_ACTION
(RULE_SK ASC);
CREATE INDEX RULE_ACTION_X_VOCAB_TERM_IX01 ON public.DCM_RULE_ACTION_X_VOCAB_TERM
(RULE_ACTION_SK ASC,VOCAB_TERM_SK ASC);
CREATE INDEX RULE_COND_X_VOCAB_TERM_IX01 ON public.DCM_RULE_COND_X_VOCAB_TERM
(RULE_COND_SK ASC,VOCAB_TERM_SK ASC);
CREATE INDEX RULE_CONDITION_IX01 ON public.DCM_RULE_CONDITION
(RULE_SK ASC);
Operating System and Release Information
SAS System | SAS Business Rules Manager | Microsoft Windows 10 | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2008 | 3.1 | | 9.4 TS1M3 | |
Microsoft Windows Server 2008 R2 | 3.1 | | 9.4 TS1M3 | |
Microsoft Windows Server 2008 for x64 | 3.1 | | 9.4 TS1M3 | |
Microsoft Windows Server 2012 Datacenter | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2012 R2 Datacenter | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2012 R2 Std | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Enterprise x64 | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2012 Std | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Enterprise 32 bit | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8.1 Pro x64 | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8.1 Pro 32-bit | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8.1 Enterprise x64 | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8.1 Enterprise 32-bit | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8 Pro x64 | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8 Pro 32-bit | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8 Enterprise x64 | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8 Enterprise 32-bit | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft® Windows® for x64 | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Home Premium 32 bit | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Home Premium x64 | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Professional 32 bit | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Professional x64 | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Ultimate 32 bit | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Ultimate x64 | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
64-bit Enabled AIX | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
64-bit Enabled Solaris | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
HP-UX IPF | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Linux for x64 | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
Solaris for x64 | 3.1 | 3.2_M1 | 9.4 TS1M3 | 9.4 TS1M6 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2020-03-18 06:47:27 |
Date Created: | 2017-06-07 11:18:00 |